package com.example.book_recommend.entity;

import java.util.Date;

public class RolePrivilege extends RolePrivilegeKey {
    private Date created;

    private Date updated;

    public RolePrivilege(Integer roleId, Integer privilegeId, Date created, Date updated) {
        super(roleId, privilegeId);
        this.created = created;
        this.updated = updated;
    }

    public RolePrivilege() {
        super();
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }
}